package cn.josh.utill;

import java.util.ArrayList;
import java.util.List;

import cn.josh.bean.Ec_article;

public class PagePart 
{
	public static List<Ec_article> getPagePart(List<Ec_article> list)
	{
		List<Ec_article> listSon = new ArrayList<Ec_article>();
		int i = 0;
		for(Ec_article article : list)
		{
			i++;
			listSon.add(article);
			System.out.println(i);
			if(i > 11)
			{
				return listSon;
			}
		}
		return listSon;
	}
}
